package com.woniu.user.pojo;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 车辆参数表
 * </p>
 *
 * @author LiFangyu
 * @since 2023-02-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_car_params")
@ApiModel(value="CarParams对象", description="车辆参数表")
public class CarParams implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "类型ID")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty(value = "品牌ID")
    private String brandId;

    @ApiModelProperty(value = "类型名称;1:新能源 1:轿车 3:SUV 4: 跑车")
    private String typeName;

    @ApiModelProperty(value = "汽车名称")
    private String carName;

    @ApiModelProperty(value = "款型")
    private String style;

    @ApiModelProperty(value = "发动机排量")
    private String engineDisplacement;

    @ApiModelProperty(value = "逻辑删除;0:正常 1:删除")
    @TableLogic
    private String isDeleted;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createdTime;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updatedTime;


}
